﻿using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class CheckBluetoothListener : AndroidJavaProxy
{
    Action<bool> callback;
    public CheckBluetoothListener(Action<bool> callback) : base(AndroidBridge.packageName + ".CheckBluetoothListener")
    {
        this.callback = callback;
    }

    public void OnResult(bool result) 
    {
        callback?.Invoke(result);
    }
}
